package com.ssy.lingxi.product.api.model.request.warehouse;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
* 扣除库存实体
* @author wrc
* @date 2020/9/8
*/
@Data
public class DeductInventoryRequest {

    /**
    * 会员商品ID
    */
    private Long productId;

    /**
    * 会员商品名称
    */
    private String productName;

    /**
    * 会员商品SkuId
    */
    @NotNull(message = "会员商品SkuId不能为空")
    private Long productSkuId;

    /**
    * 渠道商品ID
    */
    private Long channelProductId;

    /**
    * 渠道商品名称
    */
    private String channelProductName;

    /**
     * 渠道商品SkuID
     */
    private Long channelProductSkuId;

    /**
     * 采购数量
     */
    @NotNull(message = "采购数量不能为空")
    private Double purchaseCount;
}
